package com.ict.ms.realTime.service.dao;


import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.ict.ms.realTime.facade.dto.ShipBaseInfoParam;
import com.ict.ms.realTime.facade.model.Aggregated_AIS_Ship_Type;
import com.ict.ms.realTime.facade.model.StaticCountry;

import java.util.List;

/**
 * Created by chenlong on 2016/12/7.
 */
@Repository
public interface IStaticInfoDao {
    /**
     * 获取所有国家地区信息
     * @return
     */
    List<StaticCountry> getListStaticCountry();

    /**
     * 获取所有船舶类型
     * @return
     */
    List<Aggregated_AIS_Ship_Type> getListShipType();

    /**
     * 修改船舶档案资料
     */
    void updateCivilShipInfo(@Param("shipBaseInfo") ShipBaseInfoParam shipBaseInfo);

    int countIfExist(@Param("shipBaseInfo") ShipBaseInfoParam shipBaseInfo);

    void insertCivilShipInfo(@Param("shipBaseInfo") ShipBaseInfoParam shipBaseInfo);
}
